package com.doubao.doubao_admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Builder
@TableName("bms_tip")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)//链式构造器
public class BmsTip {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 公告牌
     */
    @TableField("content")
    private String content;

    private String author;

    /**
     * 1.使用 0.过期
     */
    private boolean type;
}
